//
//  CHPopverController.h
//  仿IPad的pop功能
//
//  Created by lili on 16/8/24.
//  Copyright © 2016年 陈浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef enum {
    CZPopverArrowDirectionCenter,
    CZPopverArrowDirectionLeft,
    CZPopverArrowDirectionRight
}CHPopverArrowDirection;

@interface CHPopverController : NSObject

- (instancetype)initWithContentViewController:(UIViewController *)viewController;

// 设置内容尺寸
@property (nonatomic) CGSize popoverContentSize;


// 展现- 默认在inView 的底部中心点位置 显示popver
-(void)presentPopoverInView:(UIView *)inView;

// 展现- 指定箭头方向
-(void)presentPopoverInView:(UIView *)inView arrowDirection:(CHPopverArrowDirection)arrow;
@end
